package org.wyy.tcc;

/**
 * @author wangyuanye
 * @date 2024/7/22
 **/
public interface TccService {

    boolean tryOperation(TransactionalContext context);

    boolean confirmOperation(TransactionalContext context);

    boolean cancelOperation(TransactionalContext context);
}
